local class = select(2, UnitClass("player"))
local value = (class == "ROGUE") and "1" or "0"
hooksecurefunc("SetAutoLootDefault", function (v)
	if v ~= value then
		SetAutoLootDefault(value)
	end
end)
